package org.jeecg.modules.wms.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 生产任务VO（用于入库）
 */
@Data
@ApiModel(value = "ProductionTaskVO", description = "生产任务VO")
public class ProductionTaskVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "任务ID")
    private String taskId;

    @ApiModelProperty(value = "订单ID")
    private String orderId;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "生产计划ID")
    private String productionPlanId;

    @ApiModelProperty(value = "包装工种状态")
    private Integer packagingStatus;

    @ApiModelProperty(value = "包装工种状态名称")
    private String packagingStatusName;

    @ApiModelProperty(value = "完成数量")
    private Integer completedQuantity;

    @ApiModelProperty(value = "计划数量")
    private Integer plannedQuantity;

    @ApiModelProperty(value = "完成日期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date completedDate;

    @ApiModelProperty(value = "是否可入库")
    private Boolean canInbound;
}
